//
//  JSDemoToolsVC.m
//  JSBaseProject
//
//  Created by Apple on 2017/11/7.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import "JSDemoToolsVC.h"
#import "TestFriendCycleVC.h"
#import "JSPayPasswordView.h"

@interface JSDemoToolsVC ()

@end

@implementation JSDemoToolsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    @weakify(self)
    [JSLoadingFailedView showLoadFailedInView: self.view retryHandle:^{
        @strongify(self)
        TestFriendCycleVC *vc = [[TestFriendCycleVC alloc] init];
        [self.navigationController pushViewController:vc animated:YES];
//        JSPayPasswordView *v = [JSPayPasswordView new];
//        [self.view addSubview:v];
//        [v mas_makeConstraints:^(MASConstraintMaker *make) {
//            make.center.equalTo(self.view);
//            make.size.mas_equalTo(CGSizeMake(240, 40));
//        }];
//        [v show];
    }];
    
}

- (void)fuck {
    
}
- (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    self.view.backgroundColor = [UIColor whiteColor];

}
- (void)setNavigationItemsIsInEditMode:(BOOL)isInEditMode animated:(BOOL)animated{
    [super setNavigationItemsIsInEditMode:isInEditMode animated:animated];
    self.title = @"工具";
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
